var vm = new Vue({
    el:"#app",
    data: {
        flag: true, 
        ph_num:"",
    },
    mounted:function(){
        this.init();
    },
    methods: {
        init:function() {
            // alert(123)
            //
            var id = {$userInfo['id']};
            console.log(id);
            var that = this;
            $.ajax({
                url:app.webUrl+"/member/api_user/info",
                data:{mobile:this.ph_num},
                type:"GET",
                success:function(ret){
                console.log(ret);
                    if(ret.code==1){
                        
                    }else if(ret.code==0){
                    }
                },
                error:function(err){
                    //console.log(err);
                }
            });
        },
        toggle:function(){
            this.flag = !this.flag;
        },
    },
});